package cn.ibatdream.map_struct_demo.mapper;

import cn.ibatdream.map_struct_demo.domain.OrderDo;
import cn.ibatdream.map_struct_demo.dto.OrderQueryParamDto;
import org.mapstruct.Mapper;

/**
 * @author Wang Chen Peng
 * @date 2021/01/05
 * @since JDK 1.8
 * describe:
 */
@Mapper
public interface OrderMapper {

    /**
     * 查询参数入参转换为do数据库查询对象
     * @param queryParamDto
     * @return
     */
    OrderDo queryParamDtoToOrderDo(OrderQueryParamDto queryParamDto);

}
